Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Runtime Invocation Functions /


JMOpenSession

Instantiates a Java runtime session and returns a session pointer.

OSStatus JMOpenSession (
JMSessionRef* session,
const JMSecurityOptions* security,
const JMSessionCallbacks* callbacks,
JMClientData data);
session
A pointer to a Java runtime session. On return this parameter is the allocated session.
security
A pointer to a security options structure. See "Session Security Options Structure" (page 11) for more information.
callbacks
A pointer to a session callbacks structure. See "Session Callbacks Structure" (page 10) for more information.
data
Any optional client-specific data.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
A valid session pointer has a value other than null. If not enough system memory exists to instantiate a session, JMOpenSession returns memFullErr.

SEE ALSO
The JMCloseSession function (page 22).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help